﻿@using (Html.BeginForm())
{
    <table id="dasTable">
        <tr>
            <td>
                hi
            </td>
            <td>
                world
            </td>
        </tr>
    </table>
}
@Html.MakePopupForm("Add", successFunction: "add", height:200)
@Html.PopupFormActionLink("Add")
<script type="text/javascript">
    function add(d) {
        $('#dasTable tr:last').after('<tr><td>' + d.fname + '</td><td>' + d.lname + '</td></tr>');
    }
</script>
